/*@preserve ***Version 2.27.0*** */ /*@license * Copyright 2002 - 2018 Qualtrics, LLC. * All rights reserved. * * Notice: All code, text, concepts, and other information herein (collectively, the * "Materials") are the sole property of Qualtrics, LLC, except to the extent * otherwise indicated. The Materials are proprietary to Qualtrics and are protected * under all applicable laws, including copyright, patent (as applicable), trade * secret, and contract law. Disclosure or reproduction of any Materials is strictly * prohibited without the express prior written consent of an authorized signatory * of Qualtrics. For disclosure requests, please contact notice@qualtrics.com. */ try { !function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=4)}([function(e,t,n){"use strict";n.r(t),n.d(t,"creativeTypes",(function(){return o})),n.d(t,"originalDocumentOverflow",(function(){return a})),n.d(t,"$",(function(){return s})),n.d(t,"setStyle",(function(){return u})),n.d(t,"patch",(function(){return c})),n.d(t,"getBrandDC",(function(){return d})),n.d(t,"getStyle",(function(){return l})),n.d(t,"getStyles",(function(){return p})),n.d(t,"getTempID",(function(){return f})),n.d(t,"getDateNow",(function(){return g})),n.d(t,"getElementHTML",(function(){return w})),n.d(t,"getOriginInterceptOfMessage",(function(){return h})),n.d(t,"validatePostMessage",(function(){return S})),n.d(t,"addToStyleElements",(function(){return I})),n.d(t,"buildQueryString",(function(){return v})),n.d(t,"sendFocusToFirstTabbableElement",(function(){return m})),n.d(t,"sendFocusToFirstTabbableElementOnKeydown",(function(){return E})),n.d(t,"waitForFocus",(function(){return y})),n.d(t,"observe",(function(){return b})),n.d(t,"removeObservers",(function(){return T})),n.d(t,"stopObserving",(function(){return Q})),n.d(t,"pushTimeout",(function(){return N})),n.d(t,"removeTimeouts",(function(){return A})),n.d(t,"waitForExitIntent",(function(){return O})),n.d(t,"truncateString",(function(){return R})),n.d(t,"build",(function(){return _})),n.d(t,"isString",(function(){return D})),n.d(t,"isArray",(function(){return C})),n.d(t,"isFunction",(function(){return L})),n.d(t,"isIE8",(function(){return P})),n.d(t,"isIE",(function(){return x})),n.d(t,"isEdge",(function(){return M})),n.d(t,"isChrome",(function(){return F})),n.d(t,"isOpera",(function(){return k})),n.d(t,"isFF",(function(){return H})),n.d(t,"isAndroid",(function(){return U})),n.d(t,"createArrayFromArguments",(function(){return V})),n.d(t,"forOwn",(function(){return B})),n.d(t,"getPageSize",(function(){return G})),n.d(t,"openWin",(function(){return W})),n.d(t,"startScrolling",(function(){return j})),n.d(t,"stopScrolling",(function(){return J})),n.d(t,"preventDefault",(function(){return q})),n.d(t,"remove",(function(){return Y})),n.d(t,"usePostToStart",(function(){return z})),n.d(t,"closeResponsiveEmbeddedTarget",(function(){return K})),n.d(t,"isObjLiteral",(function(){return X})),n.d(t,"strIncludes",(function(){return Z})),n.d(t,"arrIncludes",(function(){return $})),n.d(t,"detectClickInIframe",(function(){return ee})),n.d(t,"detectClickInIframeListener",(function(){return te}));var i=[],r=[],o={EMPTY:"Empty",FEEDBACK_LINK:"FeedbackLink",HTTP_REDIRECT:"HTTPRedirect",IFRAME:"IFrame",INFO_BAR:"InfoBar",LINK:"Link",NO_CREATIVE:"NoCreative",POP_OVER:"PopOver",POP_UNDER:"PopUnder",POP_UP:"PopUp",RELAY:"Relay",SLIDER:"Slider",USER_DEFINED_HTML:"UserDefinedHTML"},a="auto",s=function(e){var t=e;return"string"==typeof e&&(t=document.getElementById(e)),t},u=function(e,t){var n=window.QSI.dbg;for(var i in t)try{e.style[i]=t[i]}catch(e){n.e(e)}};function c(e,t,n){try{var i=e[t];return e[t]=n(i),function(){e[t]=i}}catch(e){return function(){}}}var d=function(e){return e?e.match(/(.*).qualtrics.com$/)[1]:window.QSI.global.brandDC.match(/(.*).qualtrics.com$/)[1]},l=function(e,t){var n,i=p(e);try{var r=i?i[t]||i.getPropertyValue(t):void 0;n=void 0!==r?r.toString():void 0}catch(e){n=void 0}return void 0===n?n:n+""},p=function(e){return e.ownerDocument.defaultView.opener?e.ownerDocument.defaultView.getComputedStyle(e,null):window.getComputedStyle(e,null)},f=function(){return"QSI_"+Math.floor(1e5*Math.random()+1)},g=function(){return Date.now?Date.now().valueOf():(new Date).valueOf()},w=function(e){var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML},h=function(e){var t=window.QSI.reg;if(!t)return null;for(var n in t)if(t[n]){var i=t[n];if(i.embeddedTargets)for(var r=0;r(n.ieEdgeMouseOutRange||5))return;e()}}else{if(r.clientY>0)return;if("Firefox"===i.name&&"SELECT"===r.target.tagName)return;e()}}catch(e){t.e(e)}}))}))},R=function(e,t){return null==e?null:("string"!=typeof e&&(e=JSON.stringify(e)),e.length>t&&(e=e.slice(0,t-"...".length)+"..."),e)},_=function(e,t,n){var i=document.createElement(e);if(t)for(var r in t)switch(r){case"style":u(i,t[r]);break;case"className":i.className=t[r];break;case"id":i.id=t[r];break;default:i.setAttribute(r,t[r])}if(n)if(D(n))i.appendChild(document.createTextNode(String(n)));else if(C(n))for(var o=0,a=n.length;o>>0;if(0===i)return!1;var r,o,a=n,s=Math.max(a>=0?a:i-Math.abs(a),0);for(;s=5;else if(2===n)i=r[o]>5||5==r[o]&&(i||o<0||void 0!==r[o+1]||1&r[o-1]);else if(3===n)i=i||!!r[0];else if(i=!1,0!==n)throw Error("[big.js] Invalid rounding mode");if(o<1)r.length=1,i?(e.e=-t,r[0]=1):r[0]=e.e=0;else{if(r.length=o--,i)for(;++r[o]>9;)r[o]=0,o--||(++e.e,r.unshift(1));for(o=r.length;!r[--o];)r.pop()}}else if(n<0||n>3||n!==~~n)throw Error("[big.js] Invalid rounding mode");return e}function p(e,t,n,i){var r,o,a=e.constructor,c=!e.c[0];if(void 0!==n){if(n!==~~n||n<(3==t)||n>1e6)throw Error(3==t?s+"precision":u);for(n=i-(e=new a(e)).e,e.c.length>++i&&l(e,n,a.RM),2==t&&(i=e.e+n+1);e.c.length=a.PE))o=o.charAt(0)+(n>1?"."+o.slice(1):"")+(r<0?"e":"e+")+r;else if(r<0){for(;++r;)o="0"+o;o="0."+o}else if(r>0)if(++r>n)for(r-=n;r--;)o+="0";else r1&&(o=o.charAt(0)+"."+o.slice(1));return e.s<0&&(!c||4==t)?"-"+o:o}c.abs=function(){var e=new this.constructor(this);return e.s=1,e},c.cmp=function(e){var t,n=this,i=n.c,r=(e=new n.constructor(e)).c,o=n.s,a=e.s,s=n.e,u=e.e;if(!i[0]||!r[0])return i[0]?o:r[0]?-a:0;if(o!=a)return o;if(t=o<0,s!=u)return s>u^t?1:-1;for(a=(s=i.length)<(u=r.length)?s:u,o=-1;++or[o]^t?1:-1;return s==u?0:s>u^t?1:-1},c.div=function(e){var t=this,n=t.constructor,i=t.c,r=(e=new n(e)).c,o=t.s==e.s?1:-1,a=n.DP;if(a!==~~a||a<0||a>1e6)throw Error(u);if(!r[0])throw Error("[big.js] Division by zero");if(!i[0])return new n(0*o);var s,c,d,p,f,g=r.slice(),w=s=r.length,h=i.length,S=i.slice(0,s),I=S.length,v=e,m=v.c=[],E=0,y=a+(v.e=t.e-e.e)+1;for(v.s=o,o=y<0?0:y,g.unshift(0);I++I?1:-1;else for(f=-1,p=0;++fS[f]?1:-1;break}if(!(p<0))break;for(c=I==s?r:g;I;){if(S[--I]y&&l(v,a,n.RM,void 0!==S[0]),v},c.eq=function(e){return!this.cmp(e)},c.gt=function(e){return this.cmp(e)>0},c.gte=function(e){return this.cmp(e)>-1},c.lt=function(e){return this.cmp(e)<0},c.lte=function(e){return this.cmp(e)<1},c.minus=c.sub=function(e){var t,n,i,r,o=this,a=o.constructor,s=o.s,u=(e=new a(e)).s;if(s!=u)return e.s=-u,o.plus(e);var c=o.c.slice(),d=o.e,l=e.c,p=e.e;if(!c[0]||!l[0])return l[0]?(e.s=-u,e):new a(c[0]?o:0);if(s=d-p){for((r=s<0)?(s=-s,i=c):(p=d,i=l),i.reverse(),u=s;u--;)i.push(0);i.reverse()}else for(n=((r=c.length0)for(;u--;)c[t++]=0;for(u=t;n>s;){if(c[--n]0?(u=a,t=c):(r=-r,t=s),t.reverse();r--;)t.push(0);t.reverse()}for(s.length-c.length<0&&(t=c,c=s,s=t),r=c.length,o=0;r;s[r]%=10)o=(s[--r]=s[r]+c[r]+o)/10|0;for(o&&(s.unshift(o),++u),r=s.length;0===s[--r];)s.pop();return e.c=s,e.e=u,e},c.pow=function(e){var t=this,n=new t.constructor(1),i=n,r=e<0;if(e!==~~e||e<-1e6||e>1e6)throw Error(s+"exponent");for(r&&(e=-e);1&e&&(i=i.times(t)),e>>=1;)t=t.times(t);return r?n.div(i):i},c.round=function(e,t){var n=this.constructor;if(void 0===e)e=0;else if(e!==~~e||e<-1e6||e>1e6)throw Error(u);return l(new n(this),e,void 0===t?n.RM:t)},c.sqrt=function(){var e,t,n,i=this,r=i.constructor,o=i.s,s=i.e,u=new r(.5);if(!i.c[0])return new r(i);if(o<0)throw Error(a+"No square root");0===(o=Math.sqrt(i+""))||o===1/0?((t=i.c.join("")).length+s&1||(t+="0"),s=((s+1)/2|0)-(s<0||1&s),e=new r(((o=Math.sqrt(t))==1/0?"1e":(o=o.toExponential()).slice(0,o.indexOf("e")+1))+s)):e=new r(o),s=e.e+(r.DP+=4);do{n=e,e=u.times(n.plus(i.div(n)))}while(n.c.slice(0,s).join("")!==e.c.slice(0,s).join(""));return l(e,r.DP-=4,r.RM)},c.times=c.mul=function(e){var t,n=this,i=n.constructor,r=n.c,o=(e=new i(e)).c,a=r.length,s=o.length,u=n.e,c=e.e;if(e.s=n.s==e.s?1:-1,!r[0]||!o[0])return new i(0*e.s);for(e.e=u+c,au;)s=t[c]+o[u]*r[c-u-1]+s,t[c--]=s%10,s=s/10|0;t[c]=(t[c]+s)%10}for(s?++e.e:t.shift(),u=t.length;!t[--u];)t.pop();return e.c=t,e},c.toExponential=function(e){return p(this,1,e,e)},c.toFixed=function(e){return p(this,2,e,this.e+e)},c.toPrecision=function(e){return p(this,3,e,e-1)},c.toString=function(){return p(this)},c.valueOf=c.toJSON=function(){return p(this,4)},(o=function e(){function t(n){var i=this;if(!(i instanceof t))return void 0===n?e():new t(n);n instanceof t?(i.s=n.s,i.e=n.e,i.c=n.c.slice()):function(e,t){var n,i,r;if(0===t&&1/t<0)t="-0";else if(!d.test(t+=""))throw Error(s+"number");e.s="-"==t.charAt(0)?(t=t.slice(1),-1):1,(n=t.indexOf("."))>-1&&(t=t.replace(".",""));(i=t.search(/e/i))>0?(n<0&&(n=i),n+=+t.slice(i+1),t=t.substring(0,i)):n<0&&(n=t.length);for(r=t.length,i=0;i0&&"0"==t.charAt(--r););for(e.e=n-i-1,e.c=[],n=0;i<=r;)e.c[n++]=+t.charAt(i++)}}(i,n),i.constructor=t}return t.prototype=c,t.DP=20,t.RM=1,t.NE=-7,t.PE=21,t.version="5.2.2",t}()).default=o.Big=o,void 0===(i=function(){return o}.call(t,n,t,e))||(e.exports=i)}()},function(e,t,n){"use strict";n.r(t),n.d(t,"isLocalStorageEnabled",(function(){return i}));var i=function(){try{return localStorage.setItem("qsi_test_local_storage","local_storage_test_value"),localStorage.removeItem("qsi_test_local_storage"),!0}catch(e){return!1}}},function(e,t,n){"use strict";function i(e,t,n,i,r,o){return{onclickHandler:function(){var a=o||e,s=document.createElement("form");s.setAttribute("method","post"),s.setAttribute("action",e),s.setAttribute("accept-charset","utf-8"),s.setAttribute("target",a),window.QSI.EmbeddedData.getEmbeddedDataAsArray(t,n,null,!0).forEach((function(e){var t=document.createElement("input");t.type="hidden",t.name=e.key,t.value=e.value,s.appendChild(t)})),document.body.appendChild(s);var u=window.open("",a,i);return s.target=a,s.submit(),document.body.removeChild(s),r&&r(),window.QSI.targetWindows.push(u),u}}}function r(e,t,n){try{window.QSI.targetWindows.push(document.getElementsByName(e)[0])}catch(e){window.QSI.dbg.e&&window.QSI.dbg.e(e)}var i=function(e,t,n){var i=document.createElement("form");return i.setAttribute("method","post"),i.setAttribute("action",e),i.setAttribute("accept-charset","utf-8"),i.setAttribute("target",t),n.forEach((function(e){var t=document.createElement("input");t.type="hidden",t.name=e.key,t.value=e.value,i.appendChild(t)})),i}(t,e,n);document.body.appendChild(i),i.submit(),document.body.removeChild(i)}n.r(t),n.d(t,"getOpenNewWindowOnclickHandler",(function(){return i})),n.d(t,"postToIframe",(function(){return r}))},function(e,t,n){n(5),n(30),n(6),n(7),n(8),n(9),n(10),n(11),n(12),n(13),n(2),n(14),n(15),n(16),n(17),n(18),n(19),n(20),n(21),n(22),n(23),n(24),n(25),n(26),n(27),n(28),n(32),n(29),n(31),e.exports=n(3)},function(module,exports){QSI.doEvalJS=function(js){return eval(js)}},function(e,t){QSI.windowHandler={optInIDsAndTargetOrigins:"QSI_OptInIDsAndTargetOrigins",optInIDsAndWindowNames:"QSI_OptInIDsAndWindowNames",getWin:function(e,t){if("string"!=typeof e)return null;var n=QSI.windows;if(n){var i=n[e];if(i)return i.closed?(QSI.windowHandler.removeWindowHandle(e),null):i}return t?(QSI.dbg.c("PopUnder window handler not found in QSI.windows"),window.open("",e)):null},getWindowOrigin:function(e){var t;try{if(null!=e&&!(t=e.origin)&&e.location)if(e.location.origin)t=e.location.origin;else{var n=e.location;t=n.protocol+"//"+n.hostname+(n.port?":"+n.port:"")}}catch(e){QSI.dbg.e(e)}return t},addOptInIDAndWindowName:function(e,t,n){var i=this.getOptInIDsAndWindowNames()||{},r=this.getOptInIDsAndTargetOrigins()||{};i[e]=t,i=JSON.stringify(i),r[e]=n,r=JSON.stringify(r),window.sessionStorage.setItem(this.optInIDsAndWindowNames,i),window.sessionStorage.setItem(this.optInIDsAndTargetOrigins,r)},getOptInIDsAndWindowNames:function(){var e;try{"string"==typeof(e=window.sessionStorage.getItem(this.optInIDsAndWindowNames)||{})&&(e=JSON.parse(e))}catch(t){QSI.dbg.e(t),e={}}return e},getOptInIDsAndTargetOrigins:function(){var e;try{"string"==typeof(e=window.sessionStorage.getItem(this.optInIDsAndTargetOrigins)||{})&&(e=JSON.parse(e))}catch(t){QSI.dbg.e(t),e={}}return e},removeOptInIDAndWindowName:function(e){var t=this.getOptInIDsAndWindowNames()||{},n=this.getOptInIDsAndTargetOrigins()||{};for(var i in t)t[i]===e&&(delete t[i],delete n[i]);window.sessionStorage.setItem(this.optInIDsAndWindowNames,JSON.stringify(t)),window.sessionStorage.setItem(this.optInIDsAndTargetOrigins,JSON.stringify(n))},setupWindowHandles:function(){var e=this.getOptInIDsAndWindowNames()||{};for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t)){var n=e[t],i=QSI.windowHandler.getWin(n,!0);i?QSI.windowHandler.addWindowHandle(n,i):QSI.windowHandler.removeOptInIDAndWindowName(n)}},addWindowHandle:function(e,t){var n=QSI.windows||{};n[e]=t,QSI.windows=n},removeWindowHandle:function(e){var t=QSI.windows;t&&delete t[e]},removeClosedWindowHandles:function(){var e=QSI.windows;if(e)for(var t in e)e[t].closed&&(delete e[t],QSI.windowHandler.removeOptInIDAndWindowName(t))}}},function(e,t){QSI.EmbeddedData&&!window.QTestLib||(QSI.EmbeddedData={getHTMLFromDOM:function(e){var t=QSI.util.$(e),n="";if(t)switch(t.tagName){case"TEXTAREA":case"INPUT":n=t.value;break;default:n=t.innerHTML}return n},getDataLayerVal:function(e){var t=window.QSI.InitializeDataLayerHelper().get(e);return t&&"object"==typeof t&&(t=JSON.stringify(t)),t||""},getCookieVal:function(e){var t="",n=QSI.cookie.get(e);return n&&(t=n),t},getURLParameter:function(e){return QSI.util.getQueryParam(window.location.href,e)},getURLRegexMatch:function(e){var t=e.match(/^\/(.*)\/([gim]*)/);return(t=t&&t[1]?window.location.href.match(new RegExp(t[1],t[2])):window.location.href.match(new RegExp(e)))&&t[1]?t[1]:""},getAdobeMarketingCloudIDJson:function(e){var t="";try{var n=Visitor.getInstance(e).getMarketingCloudVisitorID();t=JSON.stringify({marketingCloudVisitorID:n})}catch(e){QSI.dbg.e(e)}return t},getJavaScriptValue:function(e){var t="";try{if("object"==typeof e&&(e=e.toString()),QSI.runOptions&&QSI.runOptions.jsExpressionValues){var n=QSI.strToVal(e,QSI.runOptions.jsExpressionValues);if(n)return"object"==typeof n&&(n=JSON.stringify(n)),n}if(QSI.global.enableJSSanitization||void 0===QSI.doEvalJS)return QSI.config&&!0===QSI.config.enableSecureVariables?t=QSI.strToVal(e):QSI.dbg.e("Error: JavaScript Evaluation has been disabled. Attempted to execute: '"+e+"'"),t;t=QSI.doEvalJS(e)}catch(e){QSI.dbg.e(e)}return t},getHistory:function(){return QSI.history.get()},getTimeOnSite:function(){return QSI.history.getTimeOnSite()},getCurrentPage:function(){var e;try{e=decodeURI(this.getWindowLocation())}catch(t){e=this.getWindowLocation()}return e},getWindowLocation:function(){return window.location.href},getReferer:function(){return QSI.history.getPageReferrer()},getSiteReferer:function(){return QSI.history.getSiteReferrer()},getSearchTerm:function(){return QSI.history.getSearch()},getPageCount:function(){return QSI.history.getPageCount().unique},getTotalPageCount:function(){return QSI.history.getPageCount().total},getPercentagePageViewed:function(){return QSI.history.getPageCount().unique},getSiteInterceptID:function(){return this.siid},getCreativeID:function(){if(QSI.global.intercepts[this.siid]&&QSI.global.intercepts[this.siid].CreativeID)return QSI.global.intercepts[this.siid].CreativeID},getEventTrackingData:function(e){return QSI.EventTracker.get(e)},getSiteCatalystValue:function(e){for(var t,n=e.split("."),i=QSI.adobeVar.split("."),r=window,o=0;o0&&(QSI.Animation.update(),window.qsiRequestAnimationFrame(QSI.Animation.animating))}catch(e){"undefined"!=typeof QSI&&QSI.dbg&&QSI.dbg.e&&QSI.dbg.e(e)}},setUpAnimationFrames:function(){if(!window.qsiRequestAnimationFrame){for(var e=["ms","moz","webkit","o"],t=0;t1?1:o);for(var l in n)if(Object.prototype.hasOwnProperty.call(n,l)){var p=n[l],f=i[l];t[l]=p+(f-p)*d}return null!==u&&u.call(t,d),1!==o||(null!==c&&c.call(t),!1)}}},QSI.Animation.Transitions={staticly:function(){return 1},linear:function(e){return e},inquad:function(e){return e*e},easeto:function(e){return(e/=.5)<1?.5*Math.pow(e,4):-.5*((e-=2)*Math.pow(e,3)-2)},sinoidal:function(e){return-Math.cos(e*Math.PI)/2+.5},reverse:function(e){return 1-e},bounce:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},elastic:function(e){return-1*Math.pow(4,-8*e)*Math.sin((6*e-1)*(2*Math.PI)/2)+1},swingFromTo:function(e){var t=1.70158;return(e/=.5)<1?e*e*((1+(t*=1.525))*e-t)*.5:.5*((e-=2)*e*((1+(t*=1.525))*e+t)+2)},swingFrom:function(e){var t=1.70158;return e*e*((t+1)*e-t)},swingTo:function(e){var t=1.70158;return(e-=1)*e*((t+1)*e+t)+1},bouncePast:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?2-(7.5625*(e-=1.5/2.75)*e+.75):e<2.5/2.75?2-(7.5625*(e-=2.25/2.75)*e+.9375):2-(7.5625*(e-=2.625/2.75)*e+.984375)},easeFromTo:function(e){return(e/=.5)<1?.5*Math.pow(e,4):-.5*((e-=2)*Math.pow(e,3)-2)},easeFrom:function(e){return Math.pow(e,4)}})},function(e,t,n){"use strict";n.r(t);var i=n(2);window.QSI.localStorage=i},function(e,t,n){"use strict";n.r(t),n.d(t,"ResolveTimeZone",(function(){return i}));var i=function(){this.prepare=function(){return"&Q_TZ="+-(new Date).getTimezoneOffset()/60}};window.QSI.ResolveTimeZone=new i},function(e,t,n){"use strict";n.r(t),n.d(t,"ResolveTimeOnSite",(function(){return i}));var i=function(){this.prepare=function(){return"&Q_TOS="+window.QSI.history.getTimeOnSite()}};window.QSI.ResolveTimeOnSite=new i},function(e,t,n){"use strict";n.r(t),n.d(t,"ResolveSiteCatalyst",(function(){return r}));var i=n(0),r=function(){var e=this;this.prepare=function(t){var n=[];return t&&(n=(Array.isArray(t)?t:[t]).map((function(t){return t+"*|*"+e.getValue(t)}))),"&Q_ASC="+encodeURIComponent(n.join("*,*"))},this.getValue=function(t){e.adobeVar=e.rootName;var n=window;return e.adobeVar.split(".").forEach((function(e){if(!n[e])return"";n=n[e]})),t.split(".").forEach((function(e){n&&(n=n[e])})),n?Object(i.isObjLiteral)(n)?JSON.stringify(n):n:""}};window.QSI.ResolveSiteCatalyst=new r},function(e,t,n){"use strict";n.r(t),n.d(t,"ResolveSearchTerm",(function(){return i}));var i=function(){this.prepare=function(){var e=window.QSI.history.getSearch();return"&Q_ST="+encodeURIComponent(e)}};window.QSI.ResolveSearchTerm=new i},function(e,t,n){"use strict";n.r(t),n.d(t,"ResolveResolution",(function(){return i}));var i=function(){this.prepare=function(){var e=window.QSI.util.getPageSize(),t="";return t+="&Q_VPDIMS="+e.width+"|"+e.height,t+="&Q_SDIMS="+screen.width+"|"+screen.height}};window.QSI.ResolveResolution=new i},function(e,t,n){"use strict";n.r(t),n.d(t,"ResolveReferrer",(function(){return i}));var i=function(){this.prepare=function(){var e=window.QSI.history;return"&Q_REFER="+encodeURIComponent(e.getPageReferrer())+"&Q_SREFER="+encodeURIComponent(e.getSiteReferrer())}};window.QSI.ResolveReferrer=new i},function(e,t,n){"use strict";n.r(t),n.d(t,"ResolvePageCount",(function(){return i}));var i=function(){this.prepare=function(){var e="&Q_RPC=",t=window.QSI.history.getPageCount();return e+=t.total+"|"+t.unique}};window.QSI.ResolvePageCount=new i},function(e,t,n){"use strict";n.r(t),n.d(t,"ResolveJavaScript",(function(){return r}));var i=n(0),r=function(){this.prepare=function(e){var t=[];if(e){var n=window.QSI.EmbeddedData;t=Object.keys(e).map((function(t){var r=n.getJavaScriptValue(e[t]);return Object(i.isObjLiteral)(r)&&(r=JSON.stringify(r)),t+"*:*"+r}))}return"&Q_RJS="+encodeURIComponent(t.join("*|*"))}};window.QSI.ResolveJavaScript=new r},function(e,t,n){"use strict";n.r(t),n.d(t,"ResolveIntercept",(function(){return i}));var i=function(){this.prepare=function(){var e=null;try{e=JSON.parse(window.localStorage.getItem("Q_INTER"))}catch(e){return"&Q_INTER="}var t=[];return null!==e&&(t=Object.keys(e).map((function(t){return t+"*:*"+e[t]}))),"&Q_INTER="+escape(t.join("*|*"))}};window.QSI.ResolveIntercept=new i},function(e,t,n){"use strict";n.r(t),n.d(t,"ResolveHTML",(function(){return i}));var i=function(){this.prepare=function(e){var t=[];if(e){var n=window.QSI.EmbeddedData;t=e.map((function(e){return e+"*:*"+escape(n.getHTMLFromDOM(e))}))}return"&Q_RHTML="+escape(t.join("*|*"))}};window.QSI.ResolveHTML=new i},function(e,t,n){"use strict";n.r(t),n.d(t,"ResolveHistory",(function(){return i}));var i=function(){this.prepare=function(){var e=window.QSI.history;return"&Q_HIST="+escape(e.get())}};window.QSI.ResolveHistory=new i},function(e,t,n){"use strict";n.r(t),n.d(t,"ResolveEventTracking",(function(){return i}));var i=function(){this.prepare=function(e){var t=[];if(e){var n=window.QSI.EventTracker;t=e.map((function(e){return e+"*:*"+escape(n.get(e).toString())}))}return"&Q_RET="+escape(t.join("*|*"))}};window.QSI.ResolveEventTracking=new i},function(e,t,n){"use strict";n.r(t),n.d(t,"ResolveCookie",(function(){return i}));var i=function(){this.prepare=function(e){var t=[];if(e){var n=window.QSI.cookie;t=e.map((function(e){return e+"*:*"+(n.get(e)||"")}))}return"&Q_COOK="+escape(t.join("*|*"))}};window.QSI.ResolveCookie=new i},function(e,t,n){"use strict";n.r(t),n.d(t,"ResolveActionSet",(function(){return i}));var i=function(){this.prepare=function(e){var t=[];if(e){var n=window.QSI.history;t=Object.keys(e).map((function(t){var i=n.getActionSetHistory(t,!e[t]);return t+"|"+e[t]+"*:*"+escape(i)}))}return"&Q_RAS="+escape(t.join("*|*"))}};window.QSI.ResolveActionSet=new i},function(e,t){QSI.strToVal=function(e,t){try{for(var n,i=e.split(/[\'"\[\]]/).filter((function(e){return""!=e})),r=i[0].split("."),o=i.slice(1,i.length),a=r.concat(o),s=0;s0&&(e=e.substr(0,t)),e},getDimensions:function(e){var t=!0;e.parentNode&&e.parentNode.tagName||(document.body.appendChild(e),t=!1);var n=e.style.display||this.getComputedStyle(e).display;if("none"!==n&&null!==n){var i={width:e.offsetWidth,height:e.offsetHeight};return t||e.parentNode.removeChild(e),i}var r=e.style,o=r.visibility,a=r.position,s=r.display;r.visibility="hidden",r.position="absolute",r.display="block";var u=e.clientWidth,c=e.clientHeight;return r.display=s,r.position=a,r.visibility=o,t||e.parentNode.removeChild(e),{width:u,height:c}},convertPercentToPixel:function(e,t){return Math.round(e/100*t)},convertPixelToPercent:function(e,t){return Math.round(e/t*100)},cumulativeOffset:function(e){var t,n={top:0,left:0},i=e&&e.ownerDocument;if(i)return t=i.documentElement,void 0!==e.getBoundingClientRect&&(n=e.getBoundingClientRect()),{top:n.top+(window.pageYOffset||t.scrollTop)-(t.clientTop||0),left:n.left+(window.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}},getTimeout:function(e){var t=window.QSI.util.Deferred();return e=1e3*parseFloat(e),window.setTimeout((function(){try{t.resolve()}catch(e){void 0!==window.QSI&&window.QSI.dbg&&window.QSI.dbg.e&&window.QSI.dbg.e(e)}}),e),t.promise()},getComputedStyle:function(e){return e.currentStyle||window.getComputedStyle(e,null)},getWindowSize:function(e){var t=e||window,n=this.getPageSize(e);return{width:t.outerWidth||n.width,height:t.outerHeight||n.height}},getScreenRes:function(){return{height:window.screen.height,width:window.screen.width}},getBrowserViewHeight:function(e){var t=e||window,n=t.document.documentElement;return"Chrome"===window.QSI.Browser.name&&window.QSI.Browser.isMobile&&"Android"===window.QSI.OS.name?t.outerHeight:window.QSI.Browser.isMobile&&n.clientWidth/t.innerWidth>1?n.clientHeight:t.innerHeight},getScrollOffsets:function(){var e=window,t=e.document.documentElement;return{left:"pageXOffset"in e?e.pageXOffset:t.scrollLeft,top:"pageYOffset"in e?e.pageYOffset:t.scrollTop}},hasVerticalScrollbar:function(){var e=document.documentElement;return"Internet Explorer"===window.QSI.Browser.name&&window.QSI.Browser.version<8||("Internet Explorer"===window.QSI.Browser.name&&window.QSI.Browser.version<9?e.offsetWidth-e.scrollWidth>6:e.clientWidth6:e.clientHeight=document.body.scrollHeight*(e/100)},removeAllByQuery:function(e,t){var n=e.querySelectorAll(t);Array.prototype.forEach.call(n,(function(e){window.QSI.util.remove(e)}))},buildWidget:function(e,t){var n="build"+e+"Widget";return this[n]?this[n](t):""},buildCCDWidget:function(e){if((e=e||{}).close&&parseInt(e.close,10)>0){var t=e.close,n=this.getTempID(),i=this.build("span",{id:n},t+""),r=this.build("span",{},[i]),o=this,a=function(){var i=function(){try{if(t<=0)return;var e=o.$(n);e&&(e.textContent=--t+""),setTimeout(i,1e3)}catch(e){void 0!==window.QSI&&window.QSI.dbg&&window.QSI.dbg.e&&window.QSI.dbg.e(e)}};e.delay&&e.delay>0?setTimeout((function(){try{setTimeout(i,1e3)}catch(e){void 0!==window.QSI&&window.QSI.dbg&&window.QSI.dbg.e&&window.QSI.dbg.e(e)}}),1e3*e.delay):setTimeout(i,1e3)};return e.displayed?e.displayed.done((function(){a()})):a(),this.getElementHTML(r)}return""},positionFixed:function(e,t,n){e.style.position="absolute";var i,r=0,o=this.getPageSize().height,a=document.body.scrollHeight,s=window.QSI.util.getScrollOffsets().top;s>0&&("auto"===n?(e.style.top=s+parseInt(t,10)+"px",e.style.bottom=n):"auto"===t&&(e.style.bottom=s+o-parseInt(t,10)+"px",e.style.top=t)),"string"==typeof t&&t.indexOf("px")>-1&&(t=parseInt(t,10)),"string"==typeof n&&n.indexOf("px")>-1&&(n=parseInt(n,10));var u=function(){try{clearTimeout(i),i=setTimeout((function(){try{var i=window.QSI.util.getScrollOffsets().top;if(i<0||i+o>a)return;var s,c=i+t,d=c-r,l=d>=0?20:-20;Math.abs(d)<10&&(l=d),r=c,"auto"===n?s=setInterval((function(){try{var t=parseInt(e.style.top,10)+l;e.style.top=t+"px",e.style.bottom=n,l>0?t>=c&&(clearInterval(s),window.QSI.util.observe(window,"scroll",u)):t<=c&&(clearInterval(s),window.QSI.util.observe(window,"scroll",u)),window.QSI.util.observe(window,"scroll",u)}catch(e){void 0!==window.QSI&&window.QSI.dbg&&window.QSI.dbg.e&&window.QSI.dbg.e(e)}}),15):"auto"===t&&(s=setInterval((function(){try{var r=parseInt(e.style.bottom,10)+l;e.style.bottom=i+o-n+"px",e.style.top=t,e.style.bottom=r+"px",l>0?r>=c&&(clearInterval(s),window.QSI.util.observe(window,"scroll",u)):r<=c&&(clearInterval(s),window.QSI.util.observe(window,"scroll",u)),window.QSI.util.observe(window,"scroll",u)}catch(e){void 0!==window.QSI&&window.QSI.dbg&&window.QSI.dbg.e&&window.QSI.dbg.e(e)}}),15))}catch(e){void 0!==window.QSI&&window.QSI.dbg&&window.QSI.dbg.e&&window.QSI.dbg.e(e)}}),60)}catch(e){void 0!==window.QSI&&window.QSI.dbg&&window.QSI.dbg.e&&window.QSI.dbg.e(e)}};window.QSI.util.observe(window,"scroll",u)},each:function(e,t){var n=e.length;if(n)for(var i=0;i1?n:window.QSI.util.createArrayFromArguments(arguments),--i||r.resolve(t)}};if(n>1)for(var a=0;a=11)&&window.open("","_self","").focus()},handleMailTo:function(e,t,n,i){this.addClickImg(t,n,i,(function(){try{window.location.href=e}catch(e){void 0!==window.QSI&&window.QSI.dbg&&window.QSI.dbg.e&&window.QSI.dbg.e(e)}}))},addClickImg:function(e,t,n,i){var r=new Date,o=window.QSI.baseURL+"?Q_Click=1&Q_CID="+n+"&Q_SIID="+e+"&Q_ASID="+t+"&T="+r.getTime()+"&Q_LOC="+encodeURIComponent(window.location.href);this.addImage(o,i)},addImage:function(e,t){var n=window.QSI.util.build("img",{src:e,alt:""});window.QSI.util.isIE()&&window.QSI.util.setStyle(n,{display:"none"}),t&&window.QSI.util.observe(n,"load",t),document.body.appendChild(n)},processLocators:function(e,t){for(var n=0,i=e.length;nt?1:0};var n=e.map((function(e,t){return[e,t]}));n.sort((function(e,n){var i=t(e[0],n[0]);return 0!==i?i:e[1]-n[1]}));for(var i=0;i0)&&!(i=o.next()).done;)a.push(i.value)}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return a},a=function(e,t){for(var n=0,i=t.length,r=e.length;n=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},R=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,r,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=o.next()).done;)a.push(i.value)}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return a},_=function(e,t){for(var n=0,i=t.length,r=e.length;n0&&(l=new f(d[0]));break;case c.LAST:d.length>1&&(l=new f(d[d.length-2]));break;case c.ANY:l=new g(d)}return e.compare(l,a,t.Comparator)}return u.LogicType===s.INTERCEPT_LOGIC_NONE&&t.Comparator===o.HAS_BEEN_SEEN?e.compare(r,a,o.HAS_NOT_BEEN_SEEN):e.compare(r,a,t.Comparator)},this.compare=function(e,t,n){var r,a,s=e.Type,u=t?t.Type:void 0;switch(n){case o.EQ:return c(e,t);case o.NEQ:return!c(e,t);case o.GT:return d(e,t);case o.GTE:return p(e,t);case o.LT:return r=e,a=t,!(s===i.LEAF_STRING_NONE&&u===i.LEAF_STRING||s===i.LEAF_STRING&&u===i.LEAF_STRING_NONE||s===i.LEAF_STRING_NONE&&u===i.LEAF_NUMBER||s===i.LEAF_NUMBER&&u===i.LEAF_STRING_NONE||s===i.LEAF_NUMBER&&u===i.LEAF_STRING||s===i.LEAF_STRING&&u===i.LEAF_NUMBER||p(r,a));case o.LTE:return function(e,t){return!(s===i.LEAF_STRING_NONE&&u===i.LEAF_STRING||s===i.LEAF_STRING&&u===i.LEAF_STRING_NONE||s===i.LEAF_STRING_NONE&&u===i.LEAF_NUMBER||s===i.LEAF_NUMBER&&u===i.LEAF_STRING_NONE||s===i.LEAF_NUMBER&&u===i.LEAF_STRING||s===i.LEAF_STRING&&u===i.LEAF_NUMBER||d(e,t))}(e,t);case o.IS_EMPTY:return!f(e);case o.NOT_EMPTY:return f(e);case o.CONTAINS:return g(e,t);case o.NOT_CONTAINS:return!g(e,t);case o.STARTS_WITH:return function(e,t){return s===i.LEAF_STRING&&u===i.LEAF_STRING?e.Value.startsWith(t.Value):s===i.LEAF_NUMBER&&u===i.LEAF_STRING?String(e.Value).startsWith(t.Value):s===i.LEAF_STRING&&u===i.LEAF_NUMBER?e.Value.startsWith(String(t.Value)):s===i.LEAF_NUMBER&&u===i.LEAF_NUMBER?String(e.Value).startsWith(String(t.Value)):s===i.LEAF_STRING_NONE&&u===i.LEAF_STRING_NONE}(e,t);case o.REGEX:return function(e,t){function n(e,t){var n=t;return t.match(/^\/.+\/$/)&&(n=t.substring(1,t.length-1)),!!e.match(new RegExp(n))}return s===i.LEAF_STRING&&u===i.LEAF_STRING?n(e.Value,t.Value):s===i.LEAF_NUMBER&&u===i.LEAF_STRING?n(String(e.Value),t.Value):s===i.LEAF_STRING&&u===i.LEAF_NUMBER?n(e.Value,String(t.Value)):s===i.LEAF_NUMBER&&u===i.LEAF_NUMBER?n(String(e.Value),String(t.Value)):s===i.LEAF_STRING_LIST&&u===i.LEAF_STRING?e.Value.some((function(e){return n(e,t.Value)})):s===i.LEAF_STRING_LIST&&u===i.LEAF_NUMBER&&e.Value.some((function(e){return n(e,String(t.Value))}))}(e,t);case o.HAS_BEEN_TAKEN:return w(e);case o.HAS_NOT_BEEN_TAKEN:return!w(e);case o.HAS_BEEN_SEEN:return h(e,t);case o.HAS_NOT_BEEN_SEEN:return!h(e,t)}function c(e,t){if(s===i.LEAF_STRING&&u===i.LEAF_STRING)return e.Value===t.Value;if(s===i.LEAF_NUMBER&&u===i.LEAF_STRING)return String(e.Value)===t.Value;if(s===i.LEAF_STRING&&u===i.LEAF_NUMBER)return e.Value===String(t.Value);if(s===i.LEAF_NUMBER&&u===i.LEAF_NUMBER)return e.Value.eq(t.Value);if(s===i.LEAF_STRING_LIST&&u===i.LEAF_STRING){var n=e;return Object(Q.arrIncludes)(n.Value,t.Value)}return s===i.LEAF_STRING_LIST&&u===i.LEAF_NUMBER?(n=e,Object(Q.arrIncludes)(n.Value,String(t.Value))):s===i.LEAF_STRING_NONE&&u===i.LEAF_STRING_NONE}function d(e,t){return s===i.LEAF_STRING&&u===i.LEAF_STRING?e.Value>t.Value:s===i.LEAF_NUMBER&&u===i.LEAF_NUMBER&&e.Value.gt(t.Value)}function p(e,t){return s===i.LEAF_STRING&&u===i.LEAF_STRING?e.Value>=t.Value:s===i.LEAF_NUMBER&&u===i.LEAF_NUMBER&&e.Value.gte(t.Value)}function f(e){return 0!==String(e.Value).trim().length}function g(e,t){function n(e,t){return Object(Q.strIncludes)(e.toLowerCase(),t.toLowerCase())}return s===i.LEAF_STRING&&u===i.LEAF_STRING?n(e.Value,t.Value):s===i.LEAF_NUMBER&&u===i.LEAF_STRING?n(String(e.Value),t.Value):s===i.LEAF_STRING&&u===i.LEAF_NUMBER?n(e.Value,String(t.Value)):s===i.LEAF_NUMBER&&u===i.LEAF_NUMBER?n(String(e.Value),String(t.Value)):s===i.LEAF_STRING_LIST&&u===i.LEAF_STRING?e.Value.some((function(e){return n(e,t.Value)})):s===i.LEAF_STRING_LIST&&u===i.LEAF_NUMBER?e.Value.some((function(e){return n(e,String(t.Value))})):s===i.LEAF_STRING_NONE&&u===i.LEAF_STRING_NONE}function w(e){try{return!A()(e.Value).eq(0)}catch(e){window.QSI.dbg.e(e)}}function h(e,t){var n=new l(function(e){return Date.now()/1e3-e}(t.Value));return s===i.LEAF_NUMBER&&u===i.LEAF_NUMBER?e.Value>=n.Value:(s===i.LEAF_NUMBER_NONE&&i.LEAF_NUMBER,!1)}},this.evaluateConjunctionNode=function(t,n,i){var o=t.Operator,a=e.evaluateLogicTreeHelper(t.Left,n,i);i.push(o);var s=e.evaluateLogicTreeHelper(t.Right,n,i);switch(o){case r.AND:return a&&s;case r.OR:return a||s}},this.evaluateLogicNode=function(t,n){var i,r,o,a=t;switch(t.LogicType){case s.ACTION_SET_LOGIC:var u=t;return e.convertToLeafValueNode((o=u,window.QSI.history.getActionSetHistory(o.ActionSetID,!o.InCurrentSession)));case s.ADOBE_ANALYTICS:return e.convertToLeafValueNode(function(e){return window.QSI.EmbeddedData.getSiteCatalystValue(e.Expression)}(a));case s.COOKIE:var c=function(e){return window.QSI.cookie.get(e.Expression)}(a);return null===c?new p:e.convertToLeafValueNode(c);case s.EVENT_TRACKING:return e.convertToLeafValueNode(function(e){return window.QSI.EventTracker.get(e.Expression)}(a));case s.HTML_ON_SITE:return e.convertToLeafValueNode(function(e){return window.QSI.EmbeddedData.getHTMLFromDOM(e.Expression)}(a));case s.INTERCEPT_LOGIC:if(u=t,!(h=y()))return new d;var w=h[u.InterceptIDs[0]];return new l(A()(w));case s.INTERCEPT_LOGIC_ANY:case s.INTERCEPT_LOGIC_NONE:var h;if(u=t,!(h=y()))return new d;var S=Object.keys(h);try{for(var I=O(S),v=I.next();!v.done;v=I.next()){var m=v.value;Object(Q.arrIncludes)(u.InterceptIDs,m)||delete h[m]}}catch(e){i={error:e}}finally{try{v&&!v.done&&(r=I.return)&&r.call(I)}finally{if(i)throw i.error}}var T=Object.values(h);return new l(Math.max.apply(Math,_([],R(T))));case s.DATE_TIME_LOGIC:return new f(function(e){var t=new Date(Date.now());switch(e.Expression){case"Date":var n=t.getMonth()+1,i=t.getDate(),r=t.getFullYear();return new Date([r,(n<10?"0":"")+n,(i<10?"0":"")+i].join("-")).getTime().toString();case"Day":return["Sun","Mon","Tue","Wed","Thu","Fri","Sat"][t.getDay()];case"Time":var o=t.getHours(),a=t.getMinutes();return(o<10?"0":"")+o+":"+(a<10?"0":"")+a}}(a));case s.JAVASCRIPT_EXPRESSION:return e.convertToLeafValueNode(function(e){return window.QSI.EmbeddedData.getJavaScriptValue(e.Expression)}(a),n);case s.SITE_HISTORY:return new g(window.QSI.history.get().split("|").filter((function(e){return""!==e})).map((function(e){return e.replace(new RegExp("~[0-9]+$"),"")})));case s.PAGE_COUNT:return e.convertToLeafValueNode(function(e){var t=window.QSI.history.getPageCount();switch(e.Expression){case"Total":return t.total;case"Unique":return t.unique}}(a));case s.REFERRER:return e.convertToLeafValueNode(function(e){var t=window.QSI.history;switch(e.Expression){case"Site":return t.getSiteReferrer();case"Page":return t.getPageReferrer()}}(a));case s.RESOLUTION:return e.convertToLeafValueNode(function(e){var t=window.QSI.util,n=t.getPageSize(),i=t.getScreenRes();switch(e.Expression){case"ScreenHeight":return i.height;case"ScreenWidth":return i.width;case"BrowserHeight":return n.height;case"BrowserWidth":return n.width}}(a));case s.SEARCH_TERM:return e.convertToLeafValueNode(window.QSI.history.getSearch());case s.TIME_ON_SITE:return e.convertToLeafValueNode(function(e){var t=window.QSI.history.getTimeOnSite().split("|");switch(e.Expression){case"Focused":return Number(t[1]);case"Spent":return Number(t[0])}}(a));case s.GOOGLE_DATA_LAYER:return function(){var e=window.QSI.DataLayerHelper;if(null==e){var t=window.QSI.config.gtmContainerID;if(!t)throw new Error("Google Tag Manager container ID was not provided and is needed for the Qualtrics data layer integration");if(!window.google_tag_manager||!window.google_tag_manager[t])throw new Error("Google Tag Manager container '"+t+"' does not exist");var n=window.google_tag_manager[t].dataLayer.name;if(!n)throw new Error("Google Tag Manager container '"+t+"' does not have a data layer name");var i=window[n];e=new E(i),window.QSI.DataLayerHelper=e}window.QSI.InterceptReevaluator.isActive()||window.QSI.InterceptReevaluator.activate()}(),e.convertToLeafValueNode(b(a));case s.RAGE_CLICK:case s.MOUSE_THRASH:case s.ERROR_CLICK:case s.DEAD_CLICK:return e.handleFrustrationLogicNode(a)}},this.handleFrustrationLogicNode=function(t){window.QSI.foundFrustrationLogic=!0;var n=new p;return window.QSI.global.featureFlags["DX.RealTimeTriggeredIntercepts"]?(window.QSI.InterceptReevaluator.addInterceptWithFrustrationSignalLogic(e.interceptID),!1===window.QSI.InterceptReevaluator.isActive()&&window.QSI.SR&&window.QSI.SR.isOn()&&window.QSI.InterceptReevaluator.activate(),window.QSI.InterceptReevaluator.isActive()&&window.QSI.SR&&window.QSI.SR.isOn()?e.convertToLeafValueNode(function(e){if(window.QSI&&window.QSI.SR&&window.QSI.SR.signalCounts)return window.QSI.SR.getSignalCount(e.Expression)}(t)):n):n},this.evaluateValueNode=function(t){return e.convertToLeafValueNode(t.Value)},this.convertToLeafValueNode=function(t,n){if("string"==typeof t&&""===t||Array.isArray(t)&&0===t.length)return new p;if(Object(Q.isObjLiteral)(t)||null===t||"boolean"==typeof t)return new f(JSON.stringify(t));try{isNaN(Number(t))||String(t)===String(Number(t))||(a=window.QSI.dbg).log('Intercept" '+e.interceptID+" is targeting against a large number: "+t);var i=A()(t),r=n===o.REGEX&&String(t)!==String(Number(t));if(!isNaN(Number(i))&&!r)return new l(i)}catch(e){var a=window.QSI.dbg;e&&e.message&&!Object(Q.strIncludes)(e.message,"[big.js] Invalid number")&&a.e(e)}var s=String(t);return new f(s)},this.getShouldShow=function(e){var t=window.QSI.cookie,n=!0,i=!0,r=!1;return e.HideOnCookiesDisabled&&!t.areCookiesEnabled()&&(n=!1),e.HideOnLocalStorageDisabled&&!Object(T.isLocalStorageEnabled)()&&(i=!1),e.PreventRepeatedDisplay&&("0"!==e.PreventRepeatedDisplay&&null!==t.get("QSI_"+e.InterceptID+"_intercept")?r=!0:t.erase("QSI_"+e.InterceptID+"_intercept")),{CookiesEnabled:n,LocalStorageEnabled:i,PreventRepeatedDisplay:r}},this.shouldShow=function(t,n){var i=e.getShouldShow(t);return n.cookiesEnabled=i.CookiesEnabled,n.localStorageEnabled=i.LocalStorageEnabled,n.preventRepeatedDisplay=i.PreventRepeatedDisplay,i.CookiesEnabled&&i.LocalStorageEnabled&&!i.PreventRepeatedDisplay}};window.QSI.ClientSideTargeting=new D},function(e,t,n){"use strict";n.r(t);var i=function(e,t){this.payload=t,this.type=e};n.d(t,"addPopunderEmbeddedDataHandler",(function(){return r})),n.d(t,"setEmbeddedData",(function(){return a})),n.d(t,"updatePopunderEDCallback",(function(){return s})),n.d(t,"persistEDToSurvey",(function(){return u}));var r=function(e){var t=window.QSI,n=t.util,i=t.windowHandler,r=t.dbg;n.observe(window,"beforeunload",e,!0);try{i.setupWindowHandles()}catch(e){r.e(e)}},o=function(e,t){if("string"==typeof e&&"string"==typeof t){var n=window.QSI.windowHandler,r=n.getWin(t);if(r){var o=new i("setTargetUrlInPlaceholderWindow",e),a=JSON.stringify(o),s=n.getWindowOrigin(window);r.postMessage(a,s)}}},a=function(e,t,n,r){if(void 0!==e&&void 0!==t&&"string"==typeof n&&"string"==typeof r){var o=window.QSI,a=o.windowHandler,s=o.dbg,u=a.getWin(n);if(u){var c=new i("setEmbeddedData",{key:e,value:t}),d=JSON.stringify(c);if(/targetwindow/.test(n))u.postMessage(d,r);else try{var l=u.document.getElementById("PopUnderTargetFrame");if(l&&l.contentWindow)l.contentWindow.postMessage(d,r)}catch(e){s.e(e)}}}},s=function(){var e=window.QSI.dbg;try{var t=window.QSI.windowHandler;t.removeClosedWindowHandles();var n=t.getOptInIDsAndWindowNames()||{},i=t.getOptInIDsAndTargetOrigins()||{};for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)){var s=n[r],u=i[r]||"*",c=window.QSI.EmbeddedData,d=c.getEmbeddedData(r);if(!d||window.QSI.util.isObjectEmpty(d))continue;if(window.QSI.reg[r]&&/placeholderWindow/.test(s)){var l=window.QSI.reg[r].getTarget();return void o(l,s)}var p=c.surveyOpenED[r];for(var f in d)!Object.prototype.hasOwnProperty.call(d,f)||null!=p&&p[f]==d[f]||a(f,d[f],s,u)}}catch(t){e.e(t)}},u=function(e,t,n){var r=window.QSI,o=r.dbg,a=r.global,s=new i("setEmbeddedData",{key:t,value:n});try{e instanceof HTMLIFrameElement?e.contentWindow.postMessage(s,a.brandBaseUrl||"/"):e.postMessage(s,a.brandBaseUrl||"/")}catch(e){o.e(e)}}}]); } catch(e) { if (typeof QSI !== 'undefined' && QSI.dbg && QSI.dbg.e) { QSI.dbg.e(e); } }